public class EventLogsManagerModel
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private int |
internalFrameNumber
This number counts how many
JInternalFrame get opened during
the current application session. |
Constructor and Description |
---|
EventLogsManagerModel()
Constructs a new
EventLogMangerModel ,
initialising its instance variables. |
Modifier and Type | Method and Description |
---|---|
void |
addNewInternalFrame()
This method increases by 1 the numeric value of the
internalFrameNumber variable. |
int |
getInternalFrameNumber()
Returns the numeric value of the
internalFrameNumber variable. |
private int internalFrameNumber
JInternalFrame
get opened during
the current application session.
It also acts as an identifier for the new JInternalFrame
frame
just created: the system increases by 1 this number when it creates a new
JInternalFrame
and then uses it as a unique name for the new frame.
On this way, the internal frame has an unique number associated with it and can
be connected to a FooterAreaButton
using this identifier.
JInternalFrame
public EventLogsManagerModel()
EventLogMangerModel
,
initialising its instance variables.public void addNewInternalFrame()
internalFrameNumber
variable.public int getInternalFrameNumber()
internalFrameNumber
variable.internalFrameNumber
variable.